package com.weiaibenpao.demo.chislim.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lenovo on 2017/9/5.
 */
public class Li_MarathonResult implements Serializable{


    /**
     * code : 0
     * msg : 成功
     * data : {"extra":{"totalSize":2,"size":20,"totalPage":1,"page":0},"marathonlist":[{"mContentImg":"http://ofplk6att.bkt.clouddn.com/img_activity3.png","number":666,"joinNumber":0,"marathonTitle":"环滨江团队跑","detailUrl":"/malasong/detail.html?marathonId=2&sportType=6&userId=","id":2,"type":6,"badgeIntro":"团队马拉松介绍"},{"mContentImg":"http://otujji354.bkt.clouddn.com/1498661296518.jpg","number":111,"joinNumber":3,"marathonTitle":"环西湖个人马拉松","detailUrl":"/malasong/detail.html?marathonId=1&sportType=7&userId=","id":1,"type":7,"badgeIntro":"个人马拉松介绍"}]}
     */

    private int code;
    private String msg;
    /**
     * extra : {"totalSize":2,"size":20,"totalPage":1,"page":0}
     * marathonlist : [{"mContentImg":"http://ofplk6att.bkt.clouddn.com/img_activity3.png","number":666,"joinNumber":0,"marathonTitle":"环滨江团队跑","detailUrl":"/malasong/detail.html?marathonId=2&sportType=6&userId=","id":2,"type":6,"badgeIntro":"团队马拉松介绍"},{"mContentImg":"http://otujji354.bkt.clouddn.com/1498661296518.jpg","number":111,"joinNumber":3,"marathonTitle":"环西湖个人马拉松","detailUrl":"/malasong/detail.html?marathonId=1&sportType=7&userId=","id":1,"type":7,"badgeIntro":"个人马拉松介绍"}]
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalSize : 2
         * size : 20
         * totalPage : 1
         * page : 0
         */

        private ExtraBean extra;
        /**
         * mContentImg : http://ofplk6att.bkt.clouddn.com/img_activity3.png
         * number : 666
         * joinNumber : 0
         * marathonTitle : 环滨江团队跑
         * detailUrl : /malasong/detail.html?marathonId=2&sportType=6&userId=
         * id : 2
         * type : 6
         * badgeIntro : 团队马拉松介绍
         */

        private List<MarathonlistBean> marathonlist;

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public List<MarathonlistBean> getMarathonlist() {
            return marathonlist;
        }

        public void setMarathonlist(List<MarathonlistBean> marathonlist) {
            this.marathonlist = marathonlist;
        }

        public static class ExtraBean {
            private int totalSize;
            private int size;
            private int totalPage;
            private int page;

            public int getTotalSize() {
                return totalSize;
            }

            public void setTotalSize(int totalSize) {
                this.totalSize = totalSize;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getTotalPage() {
                return totalPage;
            }

            public void setTotalPage(int totalPage) {
                this.totalPage = totalPage;
            }

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }
        }

        public static class MarathonlistBean implements Serializable{

            private String mContentImg;
            private int number;
            private int joinNumber;
            private String marathonTitle;
            private String detailUrl;
            private int id;
            private int type;
            private String badgeIntro;

            public String getMContentImg() {
                return mContentImg;
            }

            public void setMContentImg(String mContentImg) {
                this.mContentImg = mContentImg;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public int getJoinNumber() {
                return joinNumber;
            }

            public void setJoinNumber(int joinNumber) {
                this.joinNumber = joinNumber;
            }

            public String getMarathonTitle() {
                return marathonTitle;
            }

            public void setMarathonTitle(String marathonTitle) {
                this.marathonTitle = marathonTitle;
            }

            public String getDetailUrl() {
                return detailUrl;
            }

            public void setDetailUrl(String detailUrl) {
                this.detailUrl = detailUrl;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getBadgeIntro() {
                return badgeIntro;
            }

            public void setBadgeIntro(String badgeIntro) {
                this.badgeIntro = badgeIntro;
            }
        }
    }
}
